////////////////////////////////////////////////////////////////////////////////
// Filename: L_sprite.cpp
////////////////////////////////////////////////////////////////////////////////
#include "L_sprite.h"

L_Sprite::L_Sprite()
{

}

L_Sprite::~L_Sprite()
{

}

void L_Sprite::SetPos(int txpos, int typos)
{
	xpos = txpos;
	ypos = typos;
}

void L_Sprite::SetSize(int tWidth, int tHeight)
{
	Width = tWidth;
	Height = tHeight;
}

void L_Sprite::SetTexCoords(float2 tuv1, float2 tuv2)
{
	uv1 = tuv1;
	uv2 = tuv2;
}

void L_Sprite::SetTextureFilename(string tTextureFilename)
{
	TextureFilename = tTextureFilename;
}

int L_Sprite::GetPosX()
{
	return xpos;
}

int L_Sprite::GetPosY()
{
	return ypos;
}

int L_Sprite::GetWidth()
{
	return Width;
}

int L_Sprite::GetHeight()
{
	return Height;
}

float2 L_Sprite::GetUV1()
{
	return uv1;
}

float2 L_Sprite::GetUV2()
{
	return uv2;
}

string L_Sprite::GetTextureFilename()
{
	return TextureFilename;
}